import request from '@/utils/request'

// 查询客户操作日志列表
export function listCrmCompanyLog(query) {
  return request({
    url: '/net/crmCompanyLog/list',
    method: 'get',
    params: query
  })
}

// 查询客户操作日志详细
export function getCrmCompanyLog(id) {
  return request({
    url: '/net/crmCompanyLog/' + id,
    method: 'get'
  })
}

// 新增客户操作日志
export function addCrmCompanyLog(data) {
  return request({
    url: '/net/crmCompanyLog',
    method: 'post',
    data: data
  })
}

// 修改客户操作日志
export function updateCrmCompanyLog(data) {
  return request({
    url: '/net/crmCompanyLog',
    method: 'put',
    data: data
  })
}

// 删除客户操作日志
export function delCrmCompanyLog(id) {
  return request({
    url: '/net/crmCompanyLog/' + id,
    method: 'delete'
  })
}
